/**************************************************
 * forcehost.cpp
 **************************************************/

#include "forcehost.h"
#include "main.h"

void setMinPlayers()
{
	sendCommandToConsole("seta party_minplayers 1");
}

void forceHostEnable()
{
	sendCommandToConsole("seta party_hostmigration 0");
	sendCommandToConsole("seta party_connecttimeout 1");
	sendCommandToConsole("seta badhost_endGameIfISuck 0");
}

void forceHostDisable()
{
	sendCommandToConsole("seta party_hostmigration 1");
	sendCommandToConsole("seta party_connecttimeout 0");
	sendCommandToConsole("seta badhost_endGameIfISuck 1");
}

void drawFpsToggle()
{
	sendCommandToConsole("toggle cg_drawfps");
}